package com.pkx.guide.info.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pkx.guide.info.entity.TInfoGuidePublishTask;
import com.pkx.guide.info.mapper.TInfoGuidePublishTaskMapper;
import com.pkx.guide.info.service.TInfoGuidePublishTaskService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 诱导屏自动发布策略 服务实现类
 *
 * @Author : YangLe
 * @create 2025/10/31 10:04
 */
@Service
public class TInfoGuidePublishTaskServiceImpl  extends ServiceImpl<TInfoGuidePublishTaskMapper, TInfoGuidePublishTask> implements TInfoGuidePublishTaskService {

    @Resource
    private TInfoGuidePublishTaskMapper tInfoGuidePublishTaskMapper;

    @Override
    public IPage<TInfoGuidePublishTask> pageList(Page page, TInfoGuidePublishTask tInfoGuidePublishTask) {
        LambdaQueryWrapper<TInfoGuidePublishTask> lambdaQueryWrapper = new QueryWrapper<TInfoGuidePublishTask>().lambda();
        return page(page, lambdaQueryWrapper);

    }

    @Override
    public List<TInfoGuidePublishTask> listByEntity(TInfoGuidePublishTask tInfoGuidePublishTask) {
        return List.of();
    }

    @Override
    public TInfoGuidePublishTask selectById(Integer id) {
        return selectById( id);
    }

    @Override
    public Boolean saveTInfoGuidePublish(TInfoGuidePublishTask tInfoGuidePublishTask) {
        return save(tInfoGuidePublishTask);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return deleteById(id);
    }
}
